package p.ithorns.integration.hazelcast.mqtt;


import java.io.Serializable;

/**
 * @Author: liuhaitao
 * @Date: 2022/8/18 17:32
 * @Description: 设备源数据接口
 */
//@JsonSubTypes({
//        @JsonSubTypes.Type(value = GateUp.class, name = "GATE"),
//        @JsonSubTypes.Type(value = GateRegisterUp.class, name = "REGISTER"),
//        @JsonSubTypes.Type(value = HeartbeatUp.class, name = "HEARBEAT")
//})
public interface BaseRaw extends Serializable {

    /**
     * 获取数据ID
     *
     * @return String id
     */
    String getId();

}

